<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小朱大事件</title>
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./login.css">
</head>

<body>
    <img id="logo" src="./assets/images/logo.png" alt="">

    <!-- 注册盒子隐藏 -->
    <!-- 注册的盒子 start -->
    <div class="box register">

        <h1>大事件后台管理系统</h1>

        <!------------- 表单区域 start ------------------->
        <form class="layui-form" action="">
            <!-- 1、用户名输入框 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required|user" placeholder="请输入标题"
                    autocomplete="off" class="layui-input">
                <!-- 修改name值 ：title->username -->
                <!--表单验证： lay-verify="required"   属性值： required（必填项）、自定义值 user -->

            </div>
            <!-- 2、密码输入框 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" name="password" required lay-verify="required|pass" placeholder="请输入密码"
                    autocomplete="off" class="layui-input pwd">
                <!--表单验证： lay-verify="required"   属性值： required（必填项）、自定义值 pass、在确认密码框加自定义值same -->
                <!-- 添加类名 .pwd 验证 确认密码框的值是否与 此输入内容一致 -->
            </div>
            <!-- 3、确认输入密码框 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" required lay-verify="required|same" placeholder="请确认密码" autocomplete="off"
                    class="layui-input">
                <!-- 去掉name 属性： name="title"-->

            </div>
            <!-- 4、登录  按钮     框 -->
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">登录</button>
            </div>
            <!-- 5、去注册      超连接 -->
            <div class="layui-form-item">
                <a href="javascript:;">已有账号，去登录</a>
            </div>
        </form>
        <!-- ------------表单区域 end----------- -->
    </div>
    <!-- 注册的盒子 end -->



    <!-- 登录的盒子 start -->
    <div class="box login">

        <h1>大事件后台管理系统</h1>

        <!------------- 表单区域 start ------------------->
        <form class="layui-form" action="">
            <!-- 1、用户名输入框 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
                    class="layui-input">
                <!-- 修改name值 ：title->username -->

            </div>
            <!-- 2、密码输入框 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" name="password" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
                    class="layui-input">
                <!-- name="title" ->password -->
            </div>
            <!-- 3、登录  按钮     框 -->
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">登录</button>
            </div>
            <!-- 4、去注册      超连接 -->
            <div class="layui-form-item">
                <a href="javascript:;">去注册账号</a>
            </div>
        </form>
        <!-- ------------表单区域 end----------- -->
    </div>
    <!-- 登录的盒子 end -->


    <script src="./assets/lib/jquery.js"></script>
    <!-- 引入layui.js 使用模块 -->
    <script src="./assets/lib/layui/layui.js"></script>


    <script src="./common.js"></script>
    <!-- <script src="./assets/js/login.js"></script> -->
    <script src="./login.js"></script>



</body>

</html>